package thread.basic;

public class ThreadUtil {
	
	// Do not instantiate
	private ThreadUtil(){}
	
	public static String getThreadName(){
		return Thread.currentThread().getName();
	}
	
	public static char getThreadNumber(){
		String str = getThreadName();
		return str.charAt(str.length() - 1);
	}
}
